loadConfig({
  lockfileCheck: {
    registry: {
      url: "https://registry.npmjs.org",
      antiParams: ["sync_timestamp", "other_urls"],
    },
    lockSemver: "major",
    lockVersion: 1,
  },
  rangeCheck: [
    {
      rootDir: "src/pages",
      workDirs: ["DT", "FL", "FS", "LS"],
    },
  ],
  versionsCheck: {
    noBeta: true,
    locked: [
      {
        name: "danger",
        version: "10.6.0",
        reason: "this issue: https://github.com/danger/danger-js/issues/1106",
      },
    ],
  },
  branchCheck: { targets: ["master", "main"] },
  protectedFilesCheck: [
    {
      file: "README.md",
      reason: "文档不要更新，内容需要迁移到 `/docs` 下",
      level: "fail",
    },
    ".gitignore",
    ".sentryclirc",
    /(.*)\/\.prettierrc/i,
  ],
});
